<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>审核实名认证- 外咖APP任务发布平台</title>
		<link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" href="/static/css/auditingRealName.css" />
	</head>

	<body>
		<div id="page-title">审核实名认证</div>
		<div id="boss">
			<div class="inline" style="display: none;">
				<span id="id">${secuser.id }</span>
			</div>
			<div class="inline">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<label style="font-size: 16px">姓名:</label> <span>${secuser.realName }</span>
			</div>
			<div class="inline">
				<label style="font-size: 16px;<c:if test="${not empty secuser.corporateName }">display:none;</c:if>">身份证号码:</label>
				<label style="font-size: 16px;<c:if test="${empty secuser.corporateName }">display:none;</c:if>">营业执照号码:</label>
				<span>${secuser.idCardNumber }</span>
			</div>
			<div class="inline" style="<c:if test="${ empty secuser.corporateName }">display:none;</c:if>">
				&nbsp;&nbsp;&nbsp;
				<label style="font-size: 16px;">公司名称:</label> <span>${secuser.corporateName }</span>
			</div>
			<div class="inline" style="<c:if test="${ empty secuser.idCardFrontImgUrl }">display:none;</c:if>">
				<label style="font-size: 16px;">身份证正面:</label>&nbsp;&nbsp;&nbsp; <img class="front" src="${secuser.idCardFrontImgUrl }" />
			</div>
			<div class="inline" style="<c:if test="${ empty secuser.idCardBackImgUrl }">display:none;</c:if>">
				<label style="font-size: 16px;">身份证反面:</label>&nbsp;&nbsp;&nbsp; <img class="back" src="${secuser.idCardBackImgUrl }" />
			</div>
			<div class="inline" style="<c:if test="${ empty secuser.attachmentUrl }">display:none;</c:if>">
				&nbsp;&nbsp;&nbsp;
				<label style="font-size: 16px;">营业执照:</label>&nbsp;&nbsp;&nbsp; <img class="attachement" src="${secuser.attachmentUrl }" />
			</div>
			<div class="inline" style="height: 180px;">
				&nbsp;&nbsp;&nbsp;
				<label style="font-size: 16px; margin-left: 31px;">操作:</label>
				<button id="1" style="margin-left: 12px;" class="layui-btn layui-btn-danger audit">核实不通过</button>
				<button id="2" class="layui-btn layui-btn-warm audit">核实通过</button>
			</div>
		</div>

		<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
		<script type="text/javascript" src="/static/layui/layui.all.js"></script>
		<script type="text/javascript" src="/static/js/auditingRealName.js"></script>
		<script type="text/javascript">
			var status = "${secuser.status}";
			if(status == 1) {
				$("button").attr("disabled", "disabled");
				$("button").attr("class", "layui-btn layui-disabled");
				$("#page-title").html("查看认证信息");
			}
		</script>
	</body>

</html>